﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Exchange.cs" company="">
//   
// </copyright>
// <summary>
//   The exchange.
// </summary>
// --------------------------------------------------------------------------------------------------------------------


using System;

namespace Systemathics.FrameWork
{
    [Serializable]
    public sealed class Exchange
    {
        public TimeSpan CloseAuctions; 
        public TimeSpan Closing;
        public string Country;
        public string Name;
        public TimeSpan OpenAuctions;
        public TimeSpan Openning;
        public string Place;

        public Exchange(string place, string name, string country, TimeSpan? openauctions, TimeSpan? open, TimeSpan? closeauctions, TimeSpan? close)
        {
            Place = place;
            Name = name;
            Country = country;
            OpenAuctions = ((TimeSpan)openauctions);
            Openning = ((TimeSpan)open);
            CloseAuctions = ((TimeSpan)closeauctions);
            Closing = ((TimeSpan)close);
        }
    }
}